<template>
<a-layout>
    <a-layout-header class="header">
      <div class="logo" >
        <h1>学生管理系统</h1>
      </div>
     
    </a-layout-header>
    <a-layout>
      <a-layout-sider width="200" style="background: #fff">
        <a-menu

          mode="inline"
          :style="{ height: '100%', borderRight: 0 }"
        >
            <a-menu-item key="1"><router-link to="/manage/student">学生管理</router-link></a-menu-item>
            <a-menu-item key="2"><router-link to="/manage/class">班级管理</router-link></a-menu-item>
            <a-menu-item key="3"><router-link to="/manage/teacher">老师管理</router-link></a-menu-item>
         
        </a-menu>
      </a-layout-sider>
      <a-layout style="padding: 0 24px 24px">
        
        <a-layout-content
          :style="{ background: '#fff', padding: '24px', margin: 0, minHeight: '280px' }"
        >
          <router-view></router-view>
        </a-layout-content>
      </a-layout>
    </a-layout>
  </a-layout>
</template>

<script setup>
import { UserOutlined, LaptopOutlined, NotificationOutlined } from '@ant-design/icons-vue';
import { ref } from 'vue';
</script>

<style>
#components-layout-demo-top-side-2 .logo {
  float: left;
  width: 120px;
  height: 31px;
  margin: 16px 24px 16px 0;
  /* background: rgba(255, 255, 255, 0.3); */
  
}
.logo>h1{
  color:white;
}

.ant-row-rtl #components-layout-demo-top-side-2 .logo {
  float: right;
  margin: 16px 0 16px 24px;
}

.site-layout-background {
  background: #fff;
}
</style>